package com.example.restaurant.controller.form;

import com.example.restaurant.common.allenum.StoreType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("新增门店模型")
public class StoreForm {
//    //关联商户ID
//    @NotNull
//    @ApiModelProperty("关联商户ID")
//    private int userId;
    //门店位置
    @NotBlank
    @ApiModelProperty("门店位置")
    private String location;
    //门店联系电话
    @NotNull
    @ApiModelProperty("门店联系电话")
    private Long telephone;
    //门店名
    @NotBlank
    @ApiModelProperty("门店名")
    private String storeName;
    //门店类型
    @NotNull
    @ApiModelProperty("门店类型")
    private String storeType;

}
